package com.sophialex.health.record.common.utils;

import org.eclipse.jface.resource.ImageDescriptor;
import org.eclipse.swt.SWT;
import org.eclipse.swt.graphics.Color;
import org.eclipse.swt.graphics.Font;
import org.eclipse.swt.graphics.Image;

import com.sophialex.health.record.Activator;
import com.sophialex.health.system.frame.resource.RcpResourceManager;

public class ImageUtil {
    
	public final static Image geog = RcpResourceManager.getPluginImage(Activator.getDefault(), "icons/geog.png");
	
	public final static Image TBBJ = RcpResourceManager.getPluginImage(Activator.getDefault(), "icons/common/toolbarBG.png");

	public final static Image save = RcpResourceManager.getPluginImage(Activator.getDefault(), "icons/common/save.png"); // 保存
	
	public final static Image save_item = RcpResourceManager.getPluginImage(Activator.getDefault(), "icons/save.png"); // 保存

	public final static Image cancel = RcpResourceManager.getPluginImage(Activator.getDefault(), "icons/common/cancel.png"); // 取消

	public final static Image add = RcpResourceManager.getPluginImage(Activator.getDefault(), "icons/common/add.png"); // 新增
	
	public final static Image add_item = RcpResourceManager.getPluginImage(Activator.getDefault(), "icons/add.png"); // 新增

	public final static Image copy = RcpResourceManager.getPluginImage(Activator.getDefault(), "icons/common/copy.png"); // 复制

	public final static Image delete = RcpResourceManager.getPluginImage(Activator.getDefault(), "icons/common/delete.png"); // 删除
	
	public final static Image delete_item = RcpResourceManager.getPluginImage(Activator.getDefault(), "icons/delete.png"); // 删除

	public final static Image edit = RcpResourceManager.getPluginImage(Activator.getDefault(), "icons/common/edit.png"); // 修改
	
	public final static Image edit_item = RcpResourceManager.getPluginImage(Activator.getDefault(), "icons/edit.png"); // 修改

	public final static Image exit = RcpResourceManager.getPluginImage(Activator.getDefault(), "icons/common/exit.png"); // 退出

	public final static Image export = RcpResourceManager.getPluginImage(Activator.getDefault(), "icons/common/export.png"); // 导出

	public final static Image insert = RcpResourceManager.getPluginImage(Activator.getDefault(), "icons/common/insert.png"); // 插入

	public final static Image paste = RcpResourceManager.getPluginImage(Activator.getDefault(), "icons/common/paste.png"); // 粘贴

	public final static Image print = RcpResourceManager.getPluginImage(Activator.getDefault(), "icons/common/print.png"); // 打印

	public final static Image query = RcpResourceManager.getPluginImage(Activator.getDefault(), "icons/common/query.png"); // 查询

	public final static Image save_zc = RcpResourceManager.getPluginImage(Activator.getDefault(), "icons/common/save_zc.png"); // 暂存

	public final static Image import_zc = RcpResourceManager.getPluginImage(Activator.getDefault(), "icons/common/import_zc.png"); // 导入暂存

	public final static Image toolbar = RcpResourceManager.getPluginImage(Activator.getDefault(), "icons/common/toolbar.png"); // Toolbar背景图

	public static final Image titleBj = RcpResourceManager.getPluginImage(Activator.getDefault(), "icons/common/titleBj.png");// 弹出框标题背景

	public final static Image send = RcpResourceManager.getPluginImage(Activator.getDefault(), "icons/common/send.png"); // 发送

	public final static Image hz = RcpResourceManager.getPluginImage(Activator.getDefault(), "icons/common/hz.png"); // 汇总

	public final static Image scApp = RcpResourceManager.getPluginImage(Activator.getDefault(), "icons/common/scApp.png"); // 生成申请单

	public final static Image dr = RcpResourceManager.getPluginImage(Activator.getDefault(), "icons/common/dr.png"); // 调入

	public final static Image delJl = RcpResourceManager.getPluginImage(Activator.getDefault(), "icons/common/delJl.png"); // 删除记录

	public final static Image delsqd = RcpResourceManager.getPluginImage(Activator.getDefault(), "icons/common/delSqd.png"); // 删除申请单

	public final static Image delDj = RcpResourceManager.getPluginImage(Activator.getDefault(), "icons/common/delDj.png"); // 销单

	public final static Image sqdInfo = RcpResourceManager.getPluginImage(Activator.getDefault(), "icons/common/sqdInfo.png"); // 申请单信息

	public final static Image selAgain = RcpResourceManager.getPluginImage(Activator.getDefault(), "icons/common/selAgain.png"); // 重新选择

	public final static Image selAll = RcpResourceManager.getPluginImage(Activator.getDefault(), "icons/common/qx.png"); // 全选

	public final static Image unSel = RcpResourceManager.getPluginImage(Activator.getDefault(), "icons/common/fx.png"); // 反选

	public final static Image unSelAll = RcpResourceManager.getPluginImage(Activator.getDefault(), "icons/common/qf.png"); // 全否

	public static final Image search = RcpResourceManager.getPluginImage(Activator.getDefault(), "icons/common/search.png");

	public static final Image check = RcpResourceManager.getPluginImage(Activator.getDefault(), "icons/common/checked.gif"); // 复选框

	public static final Image check_clicked = RcpResourceManager.getPluginImage(Activator.getDefault(), "icons/common/checked_clicked.gif");// 复选框选中

	public static final Image no_pic = RcpResourceManager.getPluginImage(Activator.getDefault(), "icons/view/nopic.jpg");

	public static final ImageDescriptor open = RcpResourceManager.getImageDescriptor(Activator.PLUGIN_ID, "icons/open.png");

	public static final ImageDescriptor edit_issue = RcpResourceManager.getImageDescriptor(Activator.PLUGIN_ID, "icons/edit.png");

	public static final ImageDescriptor cancel_relation = RcpResourceManager.getImageDescriptor(Activator.PLUGIN_ID, "icons/cancel.png");

	
	public static final Image title = RcpResourceManager.getPluginImage(Activator.getDefault(), "icons/service.png");

	public static final Image headBj = RcpResourceManager.getPluginImage(Activator.getDefault(), "icons/headBj.bmp");
	
	/**
	 * 控件底色
	 */
	public static final Color bj = RcpResourceManager.getColor(238, 238, 238);

	/**
	 * 白色
	 */
	public static final Color COLOR_LIST_BACKGROUND = RcpResourceManager.getColor(255, 255, 255);

	/**
	 * 控件必填背景色
	 */
	public static final Color COLOR_NESS = RcpResourceManager.getColor(255, 255, 221);
	
	public static final Color BALCK = RcpResourceManager.getColor(0, 0, 0);

	public static final Font font_10 = RcpResourceManager.getFont("宋体", 10, SWT.BOLD);

	public static final Color[] TABFOLDER_SELECTION_BG = new Color[] { RcpResourceManager.getColor(240, 250, 217), RcpResourceManager.getColor(206, 230, 151) };

	public static final int[] TABFOLDER_SELECTION_PERCENTS = new int[] { 55 };

	public static Color tabItembackcolor = RcpResourceManager.getColor(206, 230, 151);
}
